package com.igroupes.ovineherd.dto.request;

import lombok.Data;

import java.util.List;

@Data
public class GetRequestAttribute {
    private Paging paging;
    private List<Ordering> ordering;
    private GetRequestWhereNode conditions;


    @Data
    public static class Paging {
        private int page;
        private int size;
        private boolean total;// 是否展示总条数/总页数
    }

    @Data
    public static class Ordering {
        private String fieldId;
        private boolean asc;
    }

}
